﻿using System;
using System.Collections.Generic;
using System.Text;
using OutlookComponent;

namespace MeetingManConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            //var meetingRooms = OutlookHelper.FindAvailableRooms(DateTime.Today.AddHours(34), DateTime.Today.AddHours(35));
            var meetingRooms = OutlookHelper.ListAllManagedRooms();
            foreach (var meetingRoom in meetingRooms)
            {
                //Console.WriteLine( "[{1}] - {0}", meetingRoom.Address.Name,meetingRoom.Capacity );
                Console.WriteLine( "{0} - {1}", RegionHelper.Compare(MeetingRoom.Direction.UNKOWN, meetingRoom.RoomLocation.Region), meetingRoom.Address.Name );
            }
            Console.ReadLine();

            //OutlookHelper.CreateMeetingRequest(meetingRooms[0], DateTime.Now, DateTime.Now.AddHours(2), "", "");
        }
    }
}
